import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
		loading:0,
		power:1,
		isShowExa:0
	},
    mutations: {
		add(state){
			state.loading++
		},
		reduce(state){
			state.loading--
		},
		changeExa(state){
			state.isShowExa = 0
		},
		initExa(state){
			state.isShowExa = 1
		},
	},
    actions: {
	}
})
export default store